From: Kenichi Handa Date: Sat, 1 Dec 2007 02:41:23 +0000 (+0000) Subject: (set_font_frame_param): Adjusted for the change of X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~24424^2~224 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6e846fdc697224b69a6fdc02871700dad1fe20da;p=emacs.git (set_font_frame_param): Adjusted for the change of font_find_for_lface. --- diff --git a/src/xfaces.c b/src/xfaces.c index 206dc685814..65e70bdd7c4 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4790,7 +4790,7 @@ set_font_frame_param (frame, lface) font_name = LFACE_FONT (lface); else { - font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil); + font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil, -1); if (NILP (font_name)) error ("No font matches the specified attribute"); font_name = font_open_for_lface (f, font_name, &AREF (lface, 0),